home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Plus 2007
/
Programmer-Plus-2007.iso
/
Programming
/
Borland Plateform
/
Turbo Prolog 2
/
EXAMPL37.PRO
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Prolog Source
|
1986-04-23
|
189 b
|
10 lines
/* Program 37 */
predicates
inspiral(integer)
goal
graphics(2,1,0),inspiral(70).
clauses
inspiral(X):-
forward(5000),right(X),Y=X+1,inspiral(Y).